#!/bin/bash

# doesn't work on an M1
#iStats cpu temp "$@"

# brew install smartmontools
sudo smartctl --all /dev/disk0 | egrep '^Temperature:' | replace 'Temperature:' '' ' Celsius' 'C' | ltrim

